//
//  rankingListView.m
//  corruptEatSerpent
//
//  Created by HYC on 2022/12/6.
//

#import "HYCEatSerpent_rankingListView.h"
#import <HYC_TOOLS_OC/HYC_TOOLS_OC.h>
#import <Masonry/Masonry.h>

@interface HYCEatSerpent_rankingListView()



@end
@implementation HYCEatSerpent_rankingListView

- (instancetype)init
{
    self = [super init];
    return [self setUI];
}

- setUI {
    
    self.NO_1_Name = UILabel.alloc.init
    .H_text(@"Note")
    .H_addSubViewFoSuper(self);
    
    self.NO_1_Value = UILabel.alloc.init
    .H_text(@"--")
    .H_addSubViewFoSuper(self);
    
    self.NO_2_Name = UILabel.alloc.init
    .H_text(@"Note")
    .H_addSubViewFoSuper(self);
    
    self.NO_2_Value = UILabel.alloc.init
    .H_text(@"--")
    .H_addSubViewFoSuper(self);
    
    self.NO_3_Name = UILabel.alloc.init
    .H_text(@"Note")
    .H_addSubViewFoSuper(self);
    
    self.NO_3_Value = UILabel.alloc.init
    .H_text(@"--")
    .H_addSubViewFoSuper(self);
    
    [self.NO_1_Name mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.offset(0);
        make.width.mas_equalTo(85);
    }];
    [self.NO_1_Value mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.offset(0);
    }];
    [self.NO_2_Name mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.NO_1_Name.mas_bottom).offset(20);
        make.left.offset(0);
        make.width.mas_equalTo(85);
    }];
    [self.NO_2_Value mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.NO_1_Name.mas_bottom).offset(20);
        make.right.offset(0);
    }];
    [self.NO_3_Name mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.NO_2_Name.mas_bottom).offset(20);
        make.left.offset(0);
        make.width.mas_equalTo(85);
    }];
    [self.NO_3_Value mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.NO_2_Name.mas_bottom).offset(20);
        make.right.offset(0);
    }];
    
    
    return self;
}

@end
